// 路由
import { createRouter, createWebHashHistory } from 'vue-router';
import Index from '../pages/index/index.vue';
import Select from '../pages/select/index.vue';

const routes = [
  // 首页
  {
    path: '/index',
    name: 'Index',
    component: Index
  },
  // 选车内容
  {
    path: '/select',
    name: 'Select',
    component: Select
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
